package report5.classes;

/**
 * 实体类
 *
 * @author zouran
 * createDate：2023/5/25  18:11
 */
public class Disk {
    //记录寻道序列
    private final int position;
    //记录是否访问过
    private boolean finished;

    public Disk(Integer position, boolean finished) {
        this.position = position;
        this.finished = finished;
    }

    public int getPosition() {
        return position;
    }


    public boolean isNotFinished() {
        return !finished;
    }

    public void setFinished(boolean finished) {
        this.finished = finished;
    }
}
